package cn.itcast.java.sports;

/**
 * Author itcast
 * Date 2021/10/9 15:19
 * alt + enter 快速实现抽象方法
 * alt + insert
 * ctrl + o 直接弹出需要实现的抽象方法
 */
public class PingPangCoach extends Coach implements Speak{
    @Override
    public void teach() {
        System.out.println("乒乓球教练教发球！");
    }

    @Override
    public void eat() {
        System.out.println("乒乓球教练 eat banana");
    }

    @Override
    public void speakEnglish() {
        System.out.println("乒乓球教练学英语");
    }
}
